.color-container {
  padding: 10rpx 10rpx calc(10rpx + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 100vh;
  background-color: #EFF4F8;

  .color-item {
    position: relative;
    padding: 10rpx;
    margin: 10rpx;
    background-color: #fff;
    border-radius: 15rpx;
    overflow: hidden;

    .color-show {
      height: 50rpx;
      border-radius: 10rpx;
    }

    .color-info {
      margin-top: 10rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 24rpx;
      color: #8f8f8f;
    }

    .color-mask {
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      color: #fff;
      background-color: rgba(0, 0, 0, .5);
      border-radius: 15rpx;
      animation: test 2s forwards;
    }
  }
}

@keyframes test {

  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}